<!-- INCLUDE overall_header.html -->

<a name="maincontent"></a>

<h1>{L_TITLE}</h1>

<p>{L_EXPLAIN}</p>

<form id="list" method="post" action="{U_ACTION}">

<fieldset class="quick" style="float: left;">
	{L_DISPLAY_LOG}: &nbsp;{S_LIMIT_DAYS}&nbsp;{L_SORT_BY}: {S_SORT_KEY} {S_SORT_DIR}
	<input class="button2" type="submit" value="{L_GO}" name="sort" />
</fieldset>

<div class="clearfix"></div>

<div class="pagination">
	<!-- IF PAGINATION -->
		<a href="javascript:jumpto();" title="{L_JUMP_TO_PAGE}">{S_ON_PAGE}</a> &bull; <span>{PAGINATION}</span>
	<!-- ELSE -->
		{S_ON_PAGE}
	<!-- ENDIF -->
</div>

<!-- IF .log -->
	<table cellspacing="1">
	<thead>
	<tr>
		<th>{L_USERNAME}</th>
		<th>{L_IP}</th>
		<th>{L_TIME}</th>
		<th>{L_ACTION}</th>
		<th>{L_MARK}</th>
	</tr>
	</thead>
	<tbody>
	<!-- BEGIN log -->
		<!-- IF log.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->

			<td>
				{log.USERNAME}
				<!-- IF log.REPORTEE_USERNAME -->
				<br />&raquo; {log.REPORTEE_USERNAME}
				<!-- ENDIF -->
			</td>
			<td style="text-align: center;">{log.IP}</td>
			<td style="text-align: center;">{log.DATE}</td>
			<td>{log.ACTION}<!-- IF log.DATA --><br />{log.DATA}</span><!-- ENDIF --></td>
			<td style="text-align: center;"><input type="checkbox" class="radio" name="mark[]" value="{log.ID}" /></td>
		</tr>
	<!-- END log -->
	</tbody>
	</table>

<!-- ELSE -->

	<div class="errorbox">
		<p>{L_NO_ENTRIES}</p>
	</div>

<!-- ENDIF -->

<!-- IF S_SHOW_FORUMS -->
	<fieldset class="quick" style="float: left;">
		{L_SELECT_FORUM}: <select name="f" onchange="if(this.options[this.selectedIndex].value != -1){ this.form.submit(); }">{S_FORUM_BOX}</select>
		<input class="button2" type="submit" value="{L_GO}" />
	</fieldset>
<!-- ENDIF -->

<!-- IF S_CLEARLOGS -->
	<fieldset class="quick">
		<b class="small"><a href="#" onclick="marklist('list', 'mark', true);">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('list', 'mark', false);">{L_UNMARK_ALL}</a></b><br />
		<input class="button2" type="submit" name="delmarked" value="{L_DELETE_MARKED}" />&nbsp;
		<input class="button2" type="submit" name="delall" value="{L_DELETE_ALL}" />&nbsp;
	</fieldset>
<!-- ENDIF -->

</form>

<!-- INCLUDE overall_footer.html -->